<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<title>WebSocket</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script th:src="@{js/jquery-1.7.2.min.js}" src="js/jquery-1.7.2.min.js"></script>
<script type="text/javascript">
	function newwd() {
		window.open("http://localhost:8080/testwebsocket/1?who=2","NEWCONVERSATION","width=350,height=500,top=50,left=500,location=no,status=no,titlebar=yes,menubar=no","channelmode");
	}
	function newwdd() {
		window.open("http://localhost:8080/testwebsocket/2?who=1","NEWCONVERSATION","width=350,height=500,top=50,left=500,location=no,menubar=no,status=no,titlebar=yes","channelmode");
	}
</script>
</head>
<body>
<!-- 	<div > -->
<!-- 		WelcomeSocket1<br/> -->
<!-- 		<input id="text" type="text" /><button onclick="send()">Send</button> -->
<!-- 		<button onclick="closeWebSocket()">Close</button> -->
<!-- 		<div id="message"></div> -->
<!-- 	</div> -->
<!-- 	<div> -->
<!-- 	 <form id="sendFileForm"> -->
<!--         <input id="file" type="file" multiple /> -->
<!--         <input type="submit" value="发送" onclick="send()"/> -->
<!--     </form> -->
<!--     </div> -->
	<input name="wd"  value="会话-1" type="button" onclick="newwd();"></input>
	<input name="wd"  value="会话-2" type="button" onclick="newwdd();"></input>
</body>
</html>